﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="SGA.Authentication.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../MyStyle/StyleSheet_Generic.css" />
    <link rel="stylesheet" type="text/css" media="all" href="../MyStyle/Bigvideo.css" />
    <link rel="stylesheet" type="text/css" media="all" href="../Content/bootstrap.min.css" />
</head>
<body>
    <div id="Main" class="main">
        <form id="form1" role="form" runat="server">
                <asp:Login ID="Login1" runat="server" DestinationPageUrl="~/Authentication/LoginSuccess.aspx" VisibleWhenLoggedIn="True" FailureText="Autenticação falhou.">
                    <LayoutTemplate>
                        <h2 class="form-signin-heading">Autenticação</h2>
                        <asp:TextBox ID="UserName" CssClass="form-control" placeholder="Username" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="User Name é obrigatório." ToolTip="User Name é obrigatório." ValidationGroup="Login1">*</asp:RequiredFieldValidator>

                        <asp:TextBox ID="Password" runat="server" CssClass="form-control" placeholder="Password" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password é obrigatório." ToolTip="Password é obrigatório." ValidationGroup="Login1">*</asp:RequiredFieldValidator>

                        <asp:Button runat="server" CommandName="Login" CssClass="btn btn-lg btn-primary btn-block" Text="Submeter "/>
                        <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                    </LayoutTemplate>
                </asp:Login>
        </form>
    </div>

    <!-- BigVideo Dependencies -->
    <script type="text/javascript" src="../Scripts/jquery-2.1.1.min.js"></script>
    <script type="text/javascript" src="../Scripts/video.js"></script>
    <!-- BigVideo -->
    <script type="text/javascript" src="../Scripts/bigvideo.js"></script>

    <script type="text/javascript">
        var BV;
        $(function () {
            // initialize BigVideo
            BV = new $.BigVideo();
            BV.init();
            BV.show('../Videos/AngelOfPeace.mp4', { ambient: true });
        });
    </script>
</body>
</html>
